#! /usr/bin/perl -w

use strict;
use warnings;
use FindBin '$Bin';
use lib $Bin.'/../lib';

use Cantella::DJabberd::Store;

my $schema = Cantella::DJabberd::Store
  ->connect(
            'dbi:mysql:database=cantella_djabberd;host=10.0.7.4',
            'djabberd_test',
            'test01',
            { quote_char => '`', name_sep => '.' },
           );

#$schema->create_ddl_dir(['MySQL']);

$schema->deploy({
                 add_drop_table     => 1,
                 quote_table_names  => 1,
                 quote_field_names  => 1,
                });
